<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>用户信息</title>
    <link rel="stylesheet" href="assets/layui/css/layui.css" th:href="@{/assets/layui/css/layui.css}"  media="all">
</head>
<body>
<div class="layui-form" action="" lay-filter="dataForm">
    <div class="layui-form-item">
        <label class="layui-form-label">账号</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.userId}"  class="layui-input" readonly/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.userName}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            性别：</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.sex}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            邮件：</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.mail}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            手机号码：</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.phone}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            所属角色：</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.roleNames}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            状态：</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.stateName}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            最近登陆：</label>
        <div class="layui-input-block">
            <input type="text" th:value="${user.lastLoginTimeStr}" class="layui-input" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            备注：</label>
        <div class="layui-input-block">
            <textarea th:value="${user.remarks}"  style="height: 80px;" class="layui-textarea" readonly ></textarea>
        </div>
    </div>
</div>
<script src="../assets/layui/layui.js" th:src="@{/assets/layui/layui.js}"></script>
</body>
</html>